﻿using MediatR;
using SmartProduction.ErrorCode;
using SmartProduction.Read.API.Dtos;

namespace SmartProduction.Read.API.Application.Commands.ResourceInfoCommand
{
    /// <summary>
    /// 资源管理列表创建命令
    /// </summary>
    public class ResourceInfoQueryCommand: IRequest<APIResult<APIPaing<ResourceDTO>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 资源编码
        /// </summary>
        public string? ResourceNumer { get; set; }

        /// <summary>
        /// 资源名称
        /// </summary>
        public string? ResourceName { get; set; }

        /// <summary>
        /// 资源类别
        /// </summary>
        public string? ResourceType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string? Statu { get; set; }
    }
}
